package com.jc.subject.application.convert;

import com.jc.subject.application.dto.SubjectAnswerDTO;
import com.jc.subject.application.dto.SubjectInfoDTO;
import com.jc.subject.domin.entity.SubjectAnswerBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import javax.security.auth.Subject;
import java.util.List;

/**
 * @Description:
 * @Author: ASL_ly
 * @Package: com.jc.subject.application.convert
 * @Project: jc-club
 * @Date: 2024/10/23  19:26
 */
@Mapper
public interface SubjectAnswerDTOConverter {

    SubjectAnswerDTOConverter INSTANCE = Mappers.getMapper(SubjectAnswerDTOConverter.class);

    SubjectAnswerBO subjectAnswerDTOToBO(SubjectAnswerDTO subjectAnswerDTO);

    List<SubjectAnswerBO> subjectAnswerDTOToBOList(List<SubjectAnswerDTO> subjectAnswerDTOList);
}
